import request from '@/utils/request'

// 查询数据统计汇总列表
export function listDataStatisticsSummary(query) {
  return request({
    url: '/system/dataStatisticsSummary/list',
    method: 'get',
    params: query
  })
}

// 查询数据统计汇总详细
export function getDataStatisticsSummary(summaryId) {
  return request({
    url: '/system/dataStatisticsSummary/' + summaryId,
    method: 'get'
  })
}

// 新增数据统计汇总
export function addDataStatisticsSummary(data) {
  return request({
    url: '/system/dataStatisticsSummary',
    method: 'post',
    data: data
  })
}

// 修改数据统计汇总
export function updateDataStatisticsSummary(data) {
  return request({
    url: '/system/dataStatisticsSummary',
    method: 'put',
    data: data
  })
}

// 删除数据统计汇总
export function delDataStatisticsSummary(summaryId) {
  return request({
    url: '/system/dataStatisticsSummary/' + summaryId,
    method: 'delete'
  })
}
